import request from '@/utils/request'

export function findOne(params) {
    return request({
        url: '/taskHeader/findOne',
        method: 'get',
        params,
    })
}

export function addOrUpdate(data) {
    return request({
        url: '/taskHeader/addOrUpdate',
        method: 'post',
        data,
    })
}